package com.cwh.taskcenter.reward.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 奖励记录表
 *
 * @author cwh
 * @date 2025-06-17 16:16:22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RewardRecordDO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 
	 */
	private Long userId;

	/**
	 * 
	 */
	private Long taskId;

	/**
	 * 
	 */
	private Long userTaskId;

	/**
	 * 
	 */
	private String rewardType;

	/**
	 * 
	 */
	private String rewardValue;

	/**
	 * 0-未发放 1-已发放 2-已使用
	 */
	private Integer rewardStatus;

	/**
	 * 领取时间
	 */
	private LocalDateTime claimTime;

	/**
	 * 奖励过期时间
	 */
	private LocalDateTime expireTime;

	/**
	 * 
	 */
	private LocalDateTime createdAt;

	private LocalDateTime updatedAt;

}